package com.ymttest.database.sharding.db.ext.model;

import java.util.Date;

public class FinishActivityPo {
    /**
     * activity_id BIGINT(19) 必填<br>
     * 活动id，主键
     */
    private Long activityId;

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 添加时间
     */
    private Date addTime;

    /**
     * activity_id BIGINT(19) 必填<br>
     * 获得 活动id，主键
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * activity_id BIGINT(19) 必填<br>
     * 设置 活动id，主键
     */
    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 获得 添加时间
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * add_time TIMESTAMP(19) 必填<br>
     * 设置 添加时间
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", activityId=").append(activityId);
        sb.append(", addTime=").append(addTime);
        sb.append("]");
        return sb.toString();
    }
}